<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>TorControlEvent</title><link rel="stylesheet" type="text/css" href="../../../../styles/main.css"><script language=JavaScript src="../../../../javascript/main.js"></script><script language=JavaScript src="../../../../javascript/prettify.js"></script><script language=JavaScript src="../../../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();prettyPrint();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.52 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CClass"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="TorControlEvent"></a>TorControlEvent</h1><div class=CBody><div class=ClassHierarchy><table border=0 cellspacing=0 cellpadding=0><tr><td><div class=CHParent><div class=CHEntry>Event</div></div></td></tr></table><div class=CHIndent><table border=0 cellspacing=0 cellpadding=0><tr><td><div class=CHCurrent><div class=CHEntry>TorControlEvent</div></div></td></tr></table></div></div><p>Contains data and information from various events raised within a TorControl instance.</p><h4 class=CHeading>Author</h4><p>Patrick Bay  The MIT License (MIT)  Copyright &copy; 2013 Patrick Bay  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &ldquo;Software&rdquo;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.&nbsp;  THE SOFTWARE IS PROVIDED &ldquo;AS IS&rdquo;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.&nbsp; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.&nbsp; </p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#TorControlEvent" >TorControlEvent</a></td><td class=SDescription>Contains data and information from various events raised within a TorControl instance.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TorControlEvent.Constants" >Constants</a></td><td class=SDescription></td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.ONLOGMSG" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">ONLOGMSG</a></td><td class=SDescription>Dispatched whenever Tor sends a STDOUT log message (included as both rawMessage and body properties). </td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.ONCONNECT" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">ONCONNECT</a></td><td class=SDescription>Dispatched once the Tor control connection is connected. </td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.ONCONNECTERROR" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">ONCONNECTERROR</a></td><td class=SDescription>Dispatched when the Tor control connection reports an error when connecting.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.ONAUTHENTICATE" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">ONAUTHENTICATE</a></td><td class=SDescription>Dispatched once the Tor control connection is authenticated and ready to accept commands.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.ONRESPONSE" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">ONRESPONSE</a></td><td class=SDescription>Dispatched whenever the Tor control connection replies with a synchronous response to a request. </td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_DEBUG" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">TOR_DEBUG</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DEBUG&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_INFO" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">TOR_INFO</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;INFO&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_NOTICE" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">TOR_NOTICE</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NOTICE&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_WARN" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">TOR_WARN</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;WARN&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_ERR" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">TOR_ERR</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ERR&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_CIRC" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">TOR_CIRC</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;CIRC&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_STREAM" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">TOR_STREAM</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;STREAM&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_ORCONN" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">TOR_ORCONN</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ORCONN&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_BW" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">TOR_BW</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;BW&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_NEWDESC" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">TOR_NEWDESC</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NEWDESC&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_ADDRMAP" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">TOR_ADDRMAP</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ADDRMAP&rdquo; event.</td></tr><tr class="SConstant SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TOR_AUTHDIR_NEWDESCS" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">TOR_AUTHDIR_NEWDESCS</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;AUTHDIR_NEWDESCS&rdquo; event.</td></tr><tr class="SConstant SIndent2"><td class=SEntry><a href="#TorControlEvent.TOR_DESCCHANGED" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">TOR_DESCCHANGED</a></td><td class=SDescription>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DESCCHANGED&rdquo; event.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TorControlEvent.Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.body" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">body</a></td><td class=SDescription>4.1.10. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#TorControlEvent.status" id=link20 onMouseOver="ShowTip(event, 'tt20', 'link20')" onMouseOut="HideTip('tt20')">status</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.rawMessage" id=link21 onMouseOver="ShowTip(event, 'tt21', 'link21')" onMouseOut="HideTip('tt21')">rawMessage</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#TorControlEvent.torEvent" id=link22 onMouseOver="ShowTip(event, 'tt22', 'link22')" onMouseOut="HideTip('tt22')">torEvent</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.error" id=link23 onMouseOver="ShowTip(event, 'tt23', 'link23')" onMouseOut="HideTip('tt23')">error</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TorControlEvent.Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.TorControlEvent" id=link24 onMouseOver="ShowTip(event, 'tt24', 'link24')" onMouseOut="HideTip('tt24')">TorControlEvent</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#TorControlEvent.getTorEventShortcode" id=link25 onMouseOver="ShowTip(event, 'tt25', 'link25')" onMouseOut="HideTip('tt25')">getTorEventShortcode</a></td><td class=SDescription>Returns the Tor event shortcode for the provided long TorControlEvent event constant. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#TorControlEvent.getTorEventLongcode" id=link26 onMouseOver="ShowTip(event, 'tt26', 'link26')" onMouseOut="HideTip('tt26')">getTorEventLongcode</a></td><td class=SDescription>Returns the Tor event longcode for the provided short Tor code. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#TorControlEvent.isTorEvent" id=link27 onMouseOver="ShowTip(event, 'tt27', 'link27')" onMouseOut="HideTip('tt27')">isTorEvent</a></td><td class=SDescription>Checks if supplied TorControlEvent constant is an asynchronous Tor control connection event or a standard Flash event.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.Constants"></a>Constants</h3></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.ONLOGMSG"></a>ONLOGMSG</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONLOGMSG: String</td></tr></table></blockquote><p>Dispatched whenever Tor sends a STDOUT log message (included as both rawMessage and body properties).&nbsp; The verbosity of log information is set in the config data for the Tor binary in TorControl.as</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.ONCONNECT"></a>ONCONNECT</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONCONNECT: String</td></tr></table></blockquote><p>Dispatched once the Tor control connection is connected.&nbsp; Until authorized, the control connection should not be assumed to be usable.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.ONCONNECTERROR"></a>ONCONNECTERROR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONCONNECTERROR: String</td></tr></table></blockquote><p>Dispatched when the Tor control connection reports an error when connecting.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.ONAUTHENTICATE"></a>ONAUTHENTICATE</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONAUTHENTICATE: String</td></tr></table></blockquote><p>Dispatched once the Tor control connection is authenticated and ready to accept commands.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.ONRESPONSE"></a>ONRESPONSE</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONRESPONSE: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection replies with a synchronous response to a request.&nbsp; Asynchronous events (not requiring a request) that Tor may dispatch at any time are listed below.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_DEBUG"></a>TOR_DEBUG</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_DEBUG: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DEBUG&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_INFO"></a>TOR_INFO</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_INFO: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;INFO&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_NOTICE"></a>TOR_NOTICE</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_NOTICE: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NOTICE&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_WARN"></a>TOR_WARN</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_WARN: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;WARN&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_ERR"></a>TOR_ERR</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ERR: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ERR&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_CIRC"></a>TOR_CIRC</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_CIRC: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;CIRC&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_STREAM"></a>TOR_STREAM</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_STREAM: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;STREAM&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_ORCONN"></a>TOR_ORCONN</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ORCONN: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ORCONN&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_BW"></a>TOR_BW</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_BW: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;BW&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_NEWDESC"></a>TOR_NEWDESC</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_NEWDESC: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NEWDESC&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_ADDRMAP"></a>TOR_ADDRMAP</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ADDRMAP: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ADDRMAP&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_AUTHDIR_NEWDESCS"></a>TOR_AUTHDIR_NEWDESCS</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_AUTHDIR_NEWDESCS: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;AUTHDIR_NEWDESCS&rdquo; event.</p></div></div></div>

<div class="CConstant"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TOR_DESCCHANGED"></a>TOR_DESCCHANGED</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_DESCCHANGED: String</td></tr></table></blockquote><p>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DESCCHANGED&rdquo; event.</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.Variables"></a>Variables</h3></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.body"></a>body</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var body: String</td></tr></table></blockquote><p>4.1.10.&nbsp; Status events to be added once learn more about how they work.</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.status"></a>status</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var status: int</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.rawMessage"></a>rawMessage</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var rawMessage: String</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.torEvent"></a>torEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var torEvent: String</td></tr></table></blockquote></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.error"></a>error</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var error: TorASError</td></tr></table></blockquote></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.TorControlEvent"></a>TorControlEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function TorControlEvent(</td><td class="PParameter  prettyprint " nowrap>p_type:</td><td class="PType  prettyprint " nowrap>&nbsp;String,</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%></td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>p_bubbles:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>false,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>p_cancelable:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>false</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.getTorEventShortcode"></a>getTorEventShortcode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function getTorEventShortcode(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote><p>Returns the Tor event shortcode for the provided long TorControlEvent event constant.&nbsp; For example, the constant TorControlEvent.TOR_DEBUG returns &ldquo;DEBUG&rdquo;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  torEvent A TorControlEvent event constant string.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>The Tor shortcode that matches the supplied parameter, or null if no such code exists.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.getTorEventLongcode"></a>getTorEventLongcode</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function getTorEventLongcode(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote><p>Returns the Tor event longcode for the provided short Tor code.&nbsp; This is used to map Tor events to TorControlEvent constants.&nbsp; For example, the Tor event &ldquo;DEBUG&rdquo; is mapped to the TorControlEvent.TOR_DEBUG constant string.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  torEvent A Tor shortcode event string.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>A TorControlEvent constant event string, or null if no matching string exists.&nbsp; </p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="TorControlEvent.isTorEvent"></a>isTorEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function isTorEvent(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote><p>Checks if supplied TorControlEvent constant is an asynchronous Tor control connection event or a standard Flash event.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>param</td><td class=CDLDescription>  torEvent A TorControlEvent event constant string.&nbsp; </td></tr></table><h4 class=CHeading>Returns</h4><p>True if the supplied event constant appears to be a Tor control connection event, false otherwise.&nbsp; </p></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="../../../Main-as.html">Main</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Org</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="../utils/LoaderConfig-as.html">LoaderConfig</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Model</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../model/HTTPCookie-as.html">HTTPCookie</a></div></div><div class=MEntry><div class=MFile><a href="../model/HTTPResponse-as.html">HTTPResponse</a></div></div><div class=MEntry><div class=MFile><a href="../model/HTTPResponseHeader-as.html">HTTPResponseHeader</a></div></div><div class=MEntry><div class=MFile><a href="../model/SOCKS5Model-as.html">SOCKS5Model</a></div></div><div class=MEntry><div class=MFile><a href="../model/TorASError-as.html">TorASError</a></div></div><div class=MEntry><div class=MFile><a href="../model/TorControlCircuit-as.html">TorControlCircuit</a></div></div><div class=MEntry><div class=MFile><a href="../model/TorControlCircuitHop-as.html">TorControlCircuitHop</a></div></div><div class=MEntry><div class=MFile><a href="../model/TorControlModel-as.html">TorControlModel</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../SOCKS5Tunnel-as.html">SOCKS5Tunnel</a></div></div><div class=MEntry><div class=MFile><a href="SOCKS5TunnelEvent-as.html">SOCKS5TunnelEvent</a></div></div><div class=MEntry><div class=MFile><a href="../TorControl-as.html">TorControl</a></div></div><div class=MEntry><div class=MFile id=MSelected>TorControlEvent</div></div><div class=MEntry><div class=MFile><a href="../utils/URLUtil-as.html">URLUtil</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Demos</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="../../../demos/CircuitsDemo-as.html">CircuitsDemo</a></div></div><div class=MEntry><div class=MFile><a href="../../../demos/HTTPLoadDemo-as.html">HTTPLoadDemo</a></div></div><div class=MEntry><div class=MFile><a href="../../../demos/HTTPSLoadDemo-as.html">HTTPSLoadDemo</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent13')">Com</a><div class=MGroupContent id=MGroupContent13><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent9')">Crypto</a><div class=MGroupContent id=MGroupContent9><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Cert</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/MozillaRootCertificates-as.html">MozillaRootCertificates</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/X509Certificate-as.html">X509Certificate</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/cert/X509CertificateCollection-as.html">X509CertificateCollection</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/Crypto-as.html">Crypto</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Hash</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/HMAC-as.html">HMAC</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/IHash-as.html">IHash</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/MD2-as.html">MD2</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/MD5-as.html">MD5</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA1-as.html">SHA1</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA224-as.html">SHA224</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHA256-as.html">SHA256</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/hash/SHABase-as.html">SHABase</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent6')">Prng</a><div class=MGroupContent id=MGroupContent6><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/ARC4-as.html">ARC4</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/IPRNG-as.html">IPRNG</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/Random-as.html">Random</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/prng/TLSPRF-as.html">TLSPRF</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/rsa/RSAKey-as.html">RSAKey</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent7')">Symmetric</a><div class=MGroupContent id=MGroupContent7><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/AESKey-as.html">AESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/BlowFishKey-as.html">BlowFishKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CBCMode-as.html">CBCMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CFB8Mode-as.html">CFB8Mode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CFBMode-as.html">CFBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/CTRMode-as.html">CTRMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/DESKey-as.html">DESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ECBMode-as.html">ECBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ICipher-as.html">ICipher</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IMode-as.html">IMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IPad-as.html">IPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IStreamCipher-as.html">IStreamCipher</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/ISymmetricKey-as.html">ISymmetricKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/IVMode-as.html">IVMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/NullPad-as.html">NullPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/OFBMode-as.html">OFBMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/PKCS5-as.html">PKCS5</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/SimpleIVMode-as.html">SimpleIVMode</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/TLSPad-as.html">TLSPad</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/TripleDESKey-as.html">TripleDESKey</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/symmetric/XTeaKey-as.html">XTeaKey</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent8')">Tls</a><div class=MGroupContent id=MGroupContent8><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/BulkCiphers-as.html">BulkCiphers</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/CipherSuites-as.html">CipherSuites</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/KeyExchanges-as.html">KeyExchanges</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/MACs-as.html">MACs</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSConfig-as.html">TLSConfig</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSConnectionState-as.html">TLSConnectionState</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSEngine-as.html">TLSEngine</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSError-as.html">TLSError</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSEvent-as.html">TLSEvent</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSSecurityParameters-as.html">TLSSecurityParameters</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSSocket-as.html">TLSSocket</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/crypto/tls/TLSTest-as.html">TLSTest</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent10')">Math</a><div class=MGroupContent id=MGroupContent10><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/BarrettReduction-as.html">BarrettReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/BigInteger-as.html">BigInteger</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/ClassicReduction-as.html">ClassicReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/IReduction-as.html">IReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/MontgomeryReduction-as.html">MontgomeryReduction</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/math/NullReduction-as.html">NullReduction</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent12')">Util</a><div class=MGroupContent id=MGroupContent12><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/ArrayUtil-as.html">ArrayUtil</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Base64-as.html">Base64</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent11')">Der</a><div class=MGroupContent id=MGroupContent11><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/ByteString-as.html">ByteString</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/DER-as.html">DER</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/IAsn1Type-as.html">IAsn1Type</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Integer-as.html">Integer</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/ObjectIdentifier-as.html">ObjectIdentifier</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/OID-as.html">OID</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/PEM-as.html">PEM</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/PrintableString-as.html">PrintableString</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Sequence-as.html">Sequence</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Set-as.html">Set</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/Type-as.html">Type</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/der/UTCTime-as.html">UTCTime</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Hex-as.html">Hex</a></div></div><div class=MEntry><div class=MFile><a href="../../../com/hurlant/util/Memory-as.html">Memory</a></div></div></div></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent14')">Index</a><div class=MGroupContent id=MGroupContent14><div class=MEntry><div class=MIndex><a href="../../../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Interfaces.html">Interfaces</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Properties.html">Properties</a></div></div><div class=MEntry><div class=MIndex><a href="../../../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Functions">Functions</option><option value="Interfaces">Interfaces</option><option value="Properties">Properties</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2, 1], 15);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONLOGMSG: String</td></tr></table></blockquote>Dispatched whenever Tor sends a STDOUT log message (included as both rawMessage and body properties). </div></div><div class=CToolTip id="tt2"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONCONNECT: String</td></tr></table></blockquote>Dispatched once the Tor control connection is connected. </div></div><div class=CToolTip id="tt3"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONCONNECTERROR: String</td></tr></table></blockquote>Dispatched when the Tor control connection reports an error when connecting.</div></div><div class=CToolTip id="tt4"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONAUTHENTICATE: String</td></tr></table></blockquote>Dispatched once the Tor control connection is authenticated and ready to accept commands.</div></div><div class=CToolTip id="tt5"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const ONRESPONSE: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection replies with a synchronous response to a request. </div></div><div class=CToolTip id="tt6"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_DEBUG: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DEBUG&rdquo; event.</div></div><div class=CToolTip id="tt7"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_INFO: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;INFO&rdquo; event.</div></div><div class=CToolTip id="tt8"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_NOTICE: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NOTICE&rdquo; event.</div></div><div class=CToolTip id="tt9"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_WARN: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;WARN&rdquo; event.</div></div><div class=CToolTip id="tt10"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ERR: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ERR&rdquo; event.</div></div><div class=CToolTip id="tt11"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_CIRC: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;CIRC&rdquo; event.</div></div><div class=CToolTip id="tt12"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_STREAM: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;STREAM&rdquo; event.</div></div><div class=CToolTip id="tt13"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ORCONN: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ORCONN&rdquo; event.</div></div><div class=CToolTip id="tt14"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_BW: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;BW&rdquo; event.</div></div><div class=CToolTip id="tt15"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_NEWDESC: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;NEWDESC&rdquo; event.</div></div><div class=CToolTip id="tt16"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_ADDRMAP: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;ADDRMAP&rdquo; event.</div></div><div class=CToolTip id="tt17"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_AUTHDIR_NEWDESCS: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;AUTHDIR_NEWDESCS&rdquo; event.</div></div><div class=CToolTip id="tt18"><div class=CConstant><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public static const TOR_DESCCHANGED: String</td></tr></table></blockquote>Dispatched whenever the Tor control connection signals an asynchronous &ldquo;DESCCHANGED&rdquo; event.</div></div><div class=CToolTip id="tt19"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var body: String</td></tr></table></blockquote>4.1.10. </div></div><div class=CToolTip id="tt20"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var status: int</td></tr></table></blockquote></div></div><div class=CToolTip id="tt21"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var rawMessage: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt22"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var torEvent: String</td></tr></table></blockquote></div></div><div class=CToolTip id="tt23"><div class=CVariable><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td class="prettyprint">public var error: TorASError</td></tr></table></blockquote></div></div><div class=CToolTip id="tt24"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public function TorControlEvent(</td><td class="PParameter  prettyprint " nowrap>p_type:</td><td class="PType  prettyprint " nowrap>&nbsp;String,</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%></td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>p_bubbles:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>false,</td></tr><tr><td></td><td class="PParameter  prettyprint " nowrap>p_cancelable:</td><td class="PType  prettyprint " nowrap>&nbsp;Boolean</td><td class="PDefaultValuePrefix  prettyprint ">&nbsp;=&nbsp;</td><td class="PDefaultValue  prettyprint " width=100%>false</td><td class="PAfterParameters  prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote></div></div><div class=CToolTip id="tt25"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function getTorEventShortcode(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote>Returns the Tor event shortcode for the provided long TorControlEvent event constant. </div></div><div class=CToolTip id="tt26"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function getTorEventLongcode(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):String</td></tr></table></td></tr></table></blockquote>Returns the Tor event longcode for the provided short Tor code. </div></div><div class=CToolTip id="tt27"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters  prettyprint "nowrap>public static function isTorEvent(</td><td class="PParameter  prettyprint " nowrap>torEvent:</td><td class="PType  prettyprint " nowrap>&nbsp;String</td><td class="PAfterParameters  prettyprint "nowrap>):Boolean</td></tr></table></td></tr></table></blockquote>Checks if supplied TorControlEvent constant is an asynchronous Tor control connection event or a standard Flash event.</div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>